package com.clodosoft.pracc

class Customer {
    String rfc
    String name
    String inAddress
    Integer externalNumber
    Integer internalNumber
    String city
    Integer inZipCode
    String neighborhood

    static mapping = {
        id column: 'cus_id'
        rfc column: 'cus_rfc'
        name column : 'cus_name'
        inAddress column: 'cus_address'
        externalNumber column: 'cus_external_number'
        internalNumber column: 'cus_internal_number'
        city column: 'cus_city'
        inZipCode column: 'cus_zip_code'
        neighborhood column: 'cus_neighborhood'
        version false
        autoTimestamp false
    }

    static constraints = {

    }
}